package com.cn.service.server.mc;

import com.cn.bean.pojo.mc.K3Dy;
import com.cn.bean.pojo.mc.K3Fl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface K3WhServer {
    List<K3Fl> selectK3FlAll();
    List<K3Dy> selectK3DyAll(@Param("limit") int limit, @Param("page") int page, @Param("k3dyId")String k3dyId, @Param("k3dyMc")String k3dyMc);
    int getAutoId();
    int repeatK3flLbLevel (@Param("level") int level, @Param("k3flLb") String k3flLb);
    K3Fl selectK3flId(@Param("k3flId") int k3flId);

    int insertMcFl(@Param("k3flId")int k3flId,@Param("k3flLb")String k3flLb,@Param("k3flState")int k3flState,@Param("k3fLBz")String k3fLBz,@Param("level")int level,@Param("parentBh")int parentBh);
    int upDateMcFl(@Param("k3flId") int k3flId,@Param("k3flLb") String k3flLb, @Param("k3flState") int k3flState, @Param("k3fLBz") String k3fLBz, @Param("level") int level, @Param("parentBh") int parentBh);

    int deleteK3flId(@Param("k3flId") int k3flId);

}
